import csv

# 方式一
with open('fengyun.csv', 'w', newline='') as f:
    writer = csv.writer(f)
    writer.writerow(['聂风1','雪饮狂刀','第二梦'])

# 方式二
f = open('fengyun.csv', 'a', newline='')

writer = csv.writer(f)
writer.writerow(('步惊云1','绝世好剑','楚楚'))

f.close()


















